package com.janetfilter.plugins.power;

/**
 * @author gongxw
 * @version 0
 * @since 2018-12-21 0021 下午 05:14
 */
public interface DatePattern {
    String FULL_DATA_FORMAT = "yyyy-MM-dd HH:mm:ss.SSS";
    String FULL_DATA_FORMAT_C = "yyyy年MM月dd日 HH时mm分ss秒SSS";
    String FULL_DATA_FORMAT_N = "yyyyMMddHHmmssSSS";
    String MID_DATA_FORMAT = "yyyy-MM-dd HH:mm:ss";
    String MID_DATA_FORMAT_C = "yyyy年MM月dd日 HH时mm分ss秒";
    String MID_DATA_FORMAT_N = "yyyyMMddHHmmss";
    String SHORT_DATA_FORMAT = "yyyy-MM-dd";
    String SHORT_DATA_FORMAT_C = "yyyy年MM月dd日";
    String SHORT_DATA_FORMAT_N = "yyyyMMdd";
    String YEAR_MONTH = "yyyy-MM";
    String YEAR_MONTH_C = "yyyy年MM月";
    String YEAR_MONTH_N = "yyyyMM";
    String TIME_FORMAT = "HH:mm:ss";
    String TIME_FORMAT_C = "HH时mm分ss秒";
    String TIME_FORMAT_N = "HHmmss";

    static DatePattern create(String text) {
        return () -> text;
    }

    String getText();
}
